<template>
  <div>
    <!-- 首页轮播图 -->
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item>
        <img src="/upload/lunbo1.jpg" />
      </van-swipe-item>
      <van-swipe-item>
        <img src="/upload/lunbo2.jpg" />
      </van-swipe-item>
      <van-swipe-item>
        <img src="/upload/lunbo3.jpg" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>


<style>
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
}
.van-swipe img {
  height: 160px;
  width: 320px;
}
</style>